package com.hjw.service;

import com.hjw.entity.User;

import java.util.List;
import java.util.Map;

/**
 * <p>Project:Academic - UserService<p>
 *
 * @author IvanWei玮 -- maste
 * @version 1.0
 * @DataTime 2025/4/11 23:36
 * @since 1.8
 */
public interface UserService {
    List<User> findAll();

    User findByAccount(String account);

    User findById(Integer id);

    List<User> findByCondition(Map<String,Object> map);

    int update(Map<String, Object> map);

    int add(User user);

    int delete(Integer id);
}
